
local num = 300

for i = 1, num do
  print("n " .. i)
end

print("n " .. num+1)

for i = 1, num do
  print("e " .. i .. " " .. i + 1 .. " 1")
  print("e " .. i .. " " .. num + 1 .. " " .. (num - i + 1) * 2)
end
  
for i = 1, num do
  print("t " .. 1 .. " " .. num+1 .. " " .. num)
end
